package face.pay.dao;

import face.pay.entity.EnterpriseInfo;
import face.pay.entity.MchApplymentInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Auther: zkj
 * @Date: 2019/7/10 14:18
 * @Description:
 */
@Mapper
public interface EnterpriseInfoDao {


    public void insert(EnterpriseInfo enterpriseInfo);

    public void update(EnterpriseInfo enterpriseInfo);

    public  EnterpriseInfo getById(@Param(value = "id") Integer id);

    public  EnterpriseInfo queryByUserId(@Param(value = "userId") Integer userId);

    public  EnterpriseInfo queryByAliUserIdAndOemId(@Param(value = "aliUserId") String aliUserId,@Param(value = "oemId")Integer oemId );

    public  void updateImg(Map param);

}
